﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace FiftyNine.Ag.AzureDevelopmentStorageProxy
{
    abstract class RequestHandler
    {
        public static void HandleRequest(HttpListenerRequest request, HttpListenerResponse response)
        {
            if (request.Url.LocalPath == "/clientaccesspolicy.xml")
            {
                new ClientAccessPolicyRequestHandler(request, response);
                return;
            }
            new DevStorageRequestHandler(request, response);
        }
    }
}
